package com.guanglan.exception;

/**
 * Created with IntelliJ IDEA.
 * 作者: 光蓝Comet
 * Date: 2018-06-22 16:19
 * Description: 一句话说明这个类的作用
 * Since 1.0
 */
public class MyException extends Exception {

    private int code;

    private String message;

    private String type;

    public MyException() {
    }

    public MyException(int code, String message, String type) {
        this.code = code;
        this.message = message;
        this.type = type;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
